#include "mainwindow.h"
#include <QApplication>
#include <QtGui>
#include "log.h"


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
#ifdef QT_NO_DEBUG
    qInstallMessageHandler(outputMessage);      // 取消注释，日志可输出到文件中
#endif
    MainWindow w;
//    w.showMaximized();
    // w.setWindowIcon(QIcon(":images/images/logo.png"));//设置窗口左上角图标
    w.show();
    int ret = a.exec();

    return ret;
}
